<%--
    Document   : mantenimientoUniversidad
    Created on : 08/06/2009, 06:39:12 PM
    Author     : WILLIAM GASTAÑUEDI
--%>

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<script language="javascript" src="../js/funciones.js"></script>
<link href="/colegiatura/Estilos/estilosEsymons.css" rel="stylesheet" type="text/css" />

<f:view>
<h:form id="frmNewUniv">
<table width="100%" border="0">
  <tr>
    <td align="left" class="texto3">
        <h:outputLabel value="Mantenimiento de Universidad" styleClass="texto3"/>
    </td>
  </tr>
  <tr><td height="20">
     <a4j:outputPanel ajaxRendered="true">
    <h:messages id="lblMessages" styleClass="messages" infoClass="infoClass" errorClass="errorClass"
                warnClass="warnClass" showDetail="true" errorStyle="color:red;"
                warnStyle="color:green;" infoStyle="color:black;" fatalStyle="color:black"/>
    </a4j:outputPanel>
      </td>
  </tr>
  <tr><td>
          <fieldset><legend>Registrar Universidad</legend>
              <table width="600" border="0">
<tr>
    <td width="82">&nbsp;</td>
    <td width="109" align="left">&nbsp;</td>
    <td width="125">&nbsp;</td>
    <td width="99">&nbsp;</td>
    <td width="64">&nbsp;</td>
    <td width="38">&nbsp;</td>
    <td width="53">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td width="109" align="left"><h:outputLabel value="Nombre :" styleClass="texto20" /> </td>
    <td colspan="3" align="left"><h:inputText value="#{universidadController.universidad.uniNombre}" id="nomUniv"  size="45" styleClass="fondo012" /></td>
    <td></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
      <td colspan="7" height="15" ></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td width="109" align="left"></td>
    <td colspan="2" align="right">
	<h:commandButton action="#{universidadController.grabar}"  value="Guardar" styleClass="enlace9" /> </td>
    <td colspan="3" align="center">
        <h:commandButton action="ir_a_listar"  value="Cancelar" styleClass="enlace9" />
        </td>
    </tr>
              </table>
          </fieldset>
      </td>
  </tr>
    
</table>
</h:form>
</f:view>